/**
 * 菜单配置，详见"router/index.js"
 */
// 国家级管理员 国家级管理员
export const menu = {
  "code": "200",
  "message": "操作成功",
  "data": [
    {
      "id": 1,
      "name": "主页",
      "parentId": 0,
      "url": "/home",
      "btnId": ""
    },
    {
      "id": 2,
      "name": "地图系列",
      "parentId": 0,
      "url": "/themap",
      "btnId": "",
      "children": [
        {
          "id": 21,
          "name": "基础地图",
          "parentId": 2,
          "url": "/themap/one",
          "btnId": "",
          "icon": "icon-ditufuwushenqing"
        },
        {
          "id": 22,
          "name": "插件1画线面",
          "parentId": 2,
          "url": "/themap/two",
          "btnId": "",
          "icon": "icon-ditufuwushenqing"
        },
        {

          "id": 23,
          "name": "插件2画线面加分割",
          "parentId": 2,
          "url": "/themap/three",
          "btnId": "",
          "icon": "icon-ditufuwushenqing"
        },
        {
          "id": 24,
          "name": "图斑分组",
          "parentId": 2,
          "url": "/themap/four",
          "btnId": "",
          "icon": "icon-ditufuwushenqing"
        },
        {
          "id": 25,
          "name": "三维球加popup",
          "parentId": 2,
          "url": "/themap/five",
          "btnId": "",
          "icon": "icon-ditufuwushenqing"
        },
        {
          "id": 26,
          "name": "三维球加popup2",
          "parentId": 2,
          "url": "/themap/six",
          "btnId": "",
          "icon": "icon-ditufuwushenqing"
        },
      ]
    },

    {
      "id": 3,
      "name": "功能示例",
      "parentId": 0,
      "url": "/cases",
      "btnId": "",
      "children": [
        {
          "id": 31,
          "name": "图表",
          "parentId": 3,
          "url": "/charts-case",
          "btnId": "",
          "icon": "icon-zonglan1",
        },
        {
          "id": 32,
          "name": "拖动布局",
          "parentId": 3,
          "url": "/grid-layout",
          "btnId": "",
          "icon": "icon-zonglan1",
        },
        {
          "id": 33,
          "name": "流程图系列",
          "parentId": 0,
          "url": "/flowchart",
          "btnId": "",
          "icon": "icon-zonglan1",
          "children": [
            {
              "id": 331,
              "name": "流程图1",
              "parentId": 33,
              "url": "/jsplumb-chart",
              "btnId": "",
              "icon": "icon-zonglan1",
            }
          ]
        },
        // {
        //   "id": 34,
        //   "name": "视频直播",
        //   "parentId": 3,
        //   "url": "/live-broadcast",
        //   "btnId": "",
        //   "icon": "icon-zonglan1",
        // },
        {
          "id": 35,
          "name": "表格高亮",
          "parentId": 3,
          "url": "/table-case",
          "btnId": "",
          "icon": "icon-zonglan1",
        },
      ]
    },
    {
      "id": 9,
      "name": "样式示例",
      "parentId": 0,
      "url": "/style",
      "btnId": "",
      "children": [
        {
          "id": 91,
          "name": "网格布局",
          "parentId": 9,
          "url": "/grid-flex",
          "btnId": "",
          "icon": "icon-zonglan1"
        },
        // grid-flex下不在菜单里的子页面
        {
          "id": 911,
          "name": "服务详情",
          "parentId": 91,
          "url": "/grid-flex/serve-detail",
          "btnId": "",
          "icon": "",
          // 不在菜单里的子页面
          "noMenuPage": true
        },
        {
          "id": 92,
          "name": "剧中对齐",
          "parentId": 9,
          "url": "/align-play",
          "btnId": "",
          "icon": "icon-zonglan1",
        },
      ]
    },
    {
      "id": 10,
      "name": "测试示例",
      "parentId": 0,
      "url": "/testvue",
      "btnId": "",
      "children": [
        {
          "id": 101,
          "name": "css测试",
          "parentId": 10,
          "url": "/testvue/css-test",
          "btnId": "",
          "icon": "icon-zonglan1"
        },
        {
          "id": 102,
          "name": "dom测试",
          "parentId": 10,
          "url": "/testvue/dom-test",
          "btnId": "",
          "icon": "icon-zonglan1"
        },
        {
          "id": 103,
          "name": "vue测试",
          "parentId": 10,
          "url": "/testvue/vue-test",
          "btnId": "",
          "icon": "icon-zonglan1"
        },
      ]
    },
    // 测试菜单权限，放开注释可展示该页面
    // {
    //   "id": 11,
    //   "name": "汇总统计",
    //   "parentId": 0,
    //   "url": "/sum-statistics",
    //   "btnId": ""
    // },
    {
      "id": 7,
      "name": "展示页面",
      "parentId": 0,
      "url": "/exhibit",
      "btnId": "",
      "children": [
        {
          "id": 71,
          "name": "展示页面",
          "parentId": 7,
          "url": "/exhibition",
          "btnId": "",
          "noMenuPage": true
        },
        {
          "id": 72,
          "name": "应用搭建",
          "parentId": 7,
          "url": "/appbuild",
          "btnId": "",
          "noMenuPage": true
        },
      ]
    },
    {
      "id": 4,
      "name": "系统配置",
      "parentId": 0,
      "url": "/system-config",
      "btnId": "",
      "noMenuPage": true
    },
    {
      "id": 5,
      "name": "业务页面",
      "parentId": 0,
      "url": "/shared-serv",
      "btnId": "",
      "children": [
        {
          "id": 51,
          "name": "总览",
          "parentId": 5,
          "url": "/share-overview",
          "btnId": "",
          "icon": "icon-zonglan1",
        },
        {
          "id": 52,
          "name": "地图服务",
          "parentId": 5,
          "url": "/map-serv",
          "btnId": "",
          "icon": "icon-ditufuwushenqing",
          "children": [
            {
              "id": 521,
              "name": "服务管理",
              "parentId": 52,
              "url": "/map-mgt",
              "btnId": "",
              "icon": "",
            },
            {
              "id": 522,
              "name": "服务详情",
              "parentId": 52,
              "url": "/map-mgt/detail",
              "btnId": "",
              "icon": "",
              "noMenuPage": true
            },
            {
              "id": 523,
              "name": "服务配置",
              "parentId": 52,
              "url": "/serve-config",
              "btnId": "",
              "icon": "",
            },

          ]
        },
        {
          "id": 53,
          "name": "数据在线分发",
          "parentId": 5,
          "url": "/data-dispatch",
          "btnId": "",
          "icon": "icon-shujuzaixianfenfa",
          "children": [
            {
              "id": 531,
              "name": "数据详情",
              "parentId": 53,
              "url": "/data-dispatch/detail",
              "btnId": "",
              "icon": "",
              "noMenuPage": true
            },
          ]
        },
      ]
    },
    {
      "id": 8,
      "name": "外部链接",
      "parentId": 0,
      "url": "",
      "link": 'https://www.baidu.com',
      "btnId": ""
    },
  ]
}

// 无权限的菜单
export const menuNone = {
  "code": "200",
  "message": "操作成功",
  "data": []
}